<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="alert alert-warning-light">
        重要提示：

        <p>1.保存设置后，在操作按钮设置分润！！！</p>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text" value="{$row.title|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Product_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-product_id" data-rule="required" data-source="product/ajax" {if $super}data-params='{"custom[id]":["in",{$ids}]}'{/if} class="form-control selectpage" name="row[product_id]" type="text" value="{$row.product_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Rate_ids')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select name="row[rate_ids][]" id="c-rate_ids" multiple style="height:30px;" data-data="{$row.rate_ids|htmlentities}" class="form-control selectpicker" data-rule="required"></select>
<!--            <input id="c-rate_ids" data-rule="required" data-source="rate/index" data-multiple="true" class="form-control selectpage" name="row[rate_ids]" type="text" value="{$row.rate_ids|htmlentities}">-->
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Transaction_type_ids')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select name="row[transaction_type_ids][]" id="c-transaction_type_ids"  data-rule="required" multiple style="height:30px;" data-data="{$row.transaction_type_ids|htmlentities}" class="form-control selectpicker"></select>
<!--            <input id="c-transaction_type_ids" data-rule="required" data-source="transaction_type/index" data-multiple="true" class="form-control selectpage" name="row[transaction_type_ids]" type="text" value="{$row.transaction_type_ids|htmlentities}">-->
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Card_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select name="row[card_type][]" id="c-card_type" multiple style="height:30px;" data-data="{$row.card_type|htmlentities}" class="form-control selectpicker" data-rule="required"></select>
<!--            <input id="c-card_type" data-rule="required" class="form-control" name="row[card_type]" type="text" value="{$row.card_type|htmlentities}">-->
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
